package com.example.ems.bean;

public class Salary {
    private int id;
    private int empId;
    private String empName; // For display
    private int salaryYear;
    private int salaryMonth;
    private double amount;
    private String status; // '未支付', '已支付'

    public Salary() {}

    // Getters and Setters for all fields
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public int getEmpId() { return empId; }
    public void setEmpId(int empId) { this.empId = empId; }
    public String getEmpName() { return empName; }
    public void setEmpName(String empName) { this.empName = empName; }
    public int getSalaryYear() { return salaryYear; }
    public void setSalaryYear(int salaryYear) { this.salaryYear = salaryYear; }
    public int getSalaryMonth() { return salaryMonth; }
    public void setSalaryMonth(int salaryMonth) { this.salaryMonth = salaryMonth; }
    public double getAmount() { return amount; }
    public void setAmount(double amount) { this.amount = amount; }
    public String getStatus() { return status; }
    public void setStatus(String status) { this.status = status; }
}
